home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_10_10 / 1010036a < prev    next >
Text File  |  1992-08-08  |  639b  |  24 lines

  1. /*                    Listing 4                     */
  2. /*****************************************************
  3.                 Name: DBG_DFLT.H
  4.          Description: Macro wrapper for default
  5.                       keyword.
  6.          Portability: Standard C
  7. *****************************************************/
  8. #if !defined ( DBG_DFLT_DEFINED )
  9.  
  10.    #if !defined ( NDEBUG )
  11.       #define  default default: \
  12.          fprintf( stderr, "\nDEFAULT CASE:"\
  13.                "\n\tFILE: %s\n\tLINE: %d\n", \
  14.                __FILE__, __LINE__ ); break; \
  15.                case INT_MIN
  16.    #endif
  17.  
  18.    #define DBG_DFLT_DEFINED
  19.  
  20. #endif
  21.  
  22. /* End of File */
  23.  
  24.